<?php
/**
 * Core_Controller_Router
 * router implementation
 *
 * @author Adrian Stolarski
 */
class Core_Controller_Router implements Core_Controller_Routable {
    
    /**
     *
     * @var type $router_model
     * router model handler
     */
    public $router_model;
    
    public function __construct() {
        $this->router_model = new Core_Model_Router;
    }
    
    /**
     * route()
     * initialise functionality
     * @param type $query_string
     */
    public function route($query_string) {
        //echo $query_string;
        return $this->router_model->route($query_string);
    }

}
